Trò chơi Halloween vui nhộn trong UNITY Engine
10.805 lượt xem;
1 using System.Collections;
2 using System.Collections.Generic;
3 using UnityEngine;
4 using UnityEngine.SceneManagement;
5
6 public class MenuManager : MonoBehaviour {
7
8 public void PlayGame() {
9 SceneManager.LoadScene("Gameplay");
10 }
11
12 public void QuitGame() {
13 Application.Quit();
14 }
15 }
2 using System.Collections.Generic;
3 using UnityEngine;
4 using UnityEngine.SceneManagement;
5
6 public class MenuManager : MonoBehaviour {
7
8 public void PlayGame() {
9 SceneManager.LoadScene("Gameplay");
10 }
11
12 public void QuitGame() {
13 Application.Quit();
14 }
15 }